<!-- 招标 -->
<div class="row">
	<div class="col-md-12">
		<div class="bid-payout-total" style="border: 1px solid #ddd; padding: 10px; margin-bottom: -1px; border-top: none;">
			<span>投标费用合计：</span>
			<b class="text-danger">${(data.outMoneyTotal?string('currency'))!'-'}</b>
		</div>
	</div>
	<div class="col-md-12">
		<table class="table table-bordered" style="border: none;">
			<tr>
				<#if roles.canEditPayoutInfo>
				<th width="60"></th>
				</#if>
				<th class="text-center" width="170">资金名目</th>
				<th class="text-center" width="190">支出金额（元）</th>
				<th class="text-center" width="150">支出日期</th>
				<th class="text-center" width="250">收款单位/人</th>
				<th class="text-center">备注</th>
			</tr>
			<#if data.outMoney??>
			<#list data.outMoney as om>
			<tr class="${(om.gaveBack??)?string('text-danger','')} ${(om.gaveBack??&&om.gaveBack)?string('money-gave-back','')}">
				<#if roles.canEditPayoutInfo>
				<td class="text-center">
					<#if data.isPayoutMoneyCanBeRemove(om.name)>
					<a href="javascript:;" class="icon-remove text-danger remove-money" title="删除" data-id="${om.id}" data-bid-id="${data.id}"></a>
					<#elseif !om.gaveBack?? || !om.gaveBack>
					<a href="javascript:;" class="icon-edit text-primary edit-money" title="编辑" data-id="${om.id}" data-bid-id="${data.id}"></a>
					</#if>
				</td>
				</#if>
				<td class="text-center">${om.name!'-'}</td>
				<td class="text-center">
					${(om.total?string('currency'))!'-'} <#if om.gaveBack??>
					<b class="back-info">${(om.gaveBack)?string('【已收回】','【待回收】')}</b>
					</#if>
				</td>
				<td class="text-center">${(om.time?string('yyyy-MM-dd'))!'-'}</td>
				<td class="text-center">${om.source!'-'}</td>
				<td>${om.remark!'-'}</td>
			</tr>
			</#list>
			</#if>
		</table>
	</div>
</div>
